import random
import string

def generate_random_string(length):
    """生成指定长度的随机字符串"""
    return ''.join(random.choices(string.ascii_lowercase, k=length))

def generate_test_strings(num_strings, max_length):
    """生成多个随机字符串"""
    return [generate_random_string(random.randint(1, max_length)) for _ in range(num_strings)]

if __name__ == "__main__":
    test_strings = generate_test_strings(5, 20)
    for s in test_strings:
        print(s)
